package cn.z2huo.knowledge.basic.enums;

/**
 * <p>
 *
 * @author z2huo
 */
class NullTest {

    public static void main(String[] args) {
        ButtonEnum buttonEnum = ButtonEnum.fromValue("111");
        if (buttonEnum == ButtonEnum.ROLE_MANAGE_LIST) {
            System.out.println("hhh");
        }
        if (ButtonEnum.ROLE_MANAGE_LIST.equals(buttonEnum)) {
            System.out.println("lalala");
        }
        if (buttonEnum.equals(ButtonEnum.ROLE_MANAGE_LIST)) {
            System.out.println("giao");
        }
    }

}
